package com.onlygx.dva.web.ui.entity;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 权限表 实体对象
 * 完全对应数据库表 权限表 中的字段
 * </p>
 *
 * @author GaoXiang
 * @since 2023-08-04
 * @version V1.0
 */
@Data
@ApiModel(value="BasePerm 实体对象", description="完全对应数据库表 权限表 中的字段")
public class BasePerm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "父级ID")
    private String parentId;

    @ApiModelProperty(value = "权限标识")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "菜单：MENU；权限：PERM")
    private String type;

    @ApiModelProperty(value = "标签，用于分类。默认是 mainPerm")
    private String tag;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "排序，从1开始")
    private Integer orderIndex;


}
